<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
    {{ uname }}
    <a href="{% url 'booktest:login' %}">登录</a>

    <a href="{% url 'booktest:logout' %}">退出</a>
</body>
</html>